package main

import (
	"bufio"
	"fmt"
	"os"
)

// 使用接口的例子: fmt.Fprintf

func main() {
	fmt.Fprintf(os.Stdout, "Hello World - %s\n", "unbuffered")

	buf := bufio.NewWriter(os.Stdout)
	fmt.Fprintf(buf, "Hello World - %s\n", "buffered")
	buf.Flush()
}
